<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class splitmix64</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../boost_random/reference.html#doxygen.headers.splitmix64_8hpp" title="Header &lt;boost/random/splitmix64.hpp&gt;">
<link rel="prev" href="sobol_8hpp_1aa5b0c5ac9d0b5f30aeec86300f90e403.html" title="Type definition sobol">
<link rel="next" href="classboost_1_1random_1_1student__t__distribution.html" title="Class template student_t_distribution">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="sobol_8hpp_1aa5b0c5ac9d0b5f30aeec86300f90e403.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_random/reference.html#doxygen.headers.splitmix64_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1random_1_1student__t__distribution.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.headers.classboost_1_1random_1_1splitmix64"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class splitmix64</span></h2>
<p>boost::random::splitmix64</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../boost_random/reference.html#doxygen.headers.splitmix64_8hpp" title="Header &lt;boost/random/splitmix64.hpp&gt;">boost/random/splitmix64.hpp</a>&gt;

</span>
<span class="keyword">class</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a1eb45f2d3b66b0e178dcefd2cfe2e131"></a><span class="identifier">result_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a712b93ad826651231292d535931b1991"></a><span class="identifier">seed_type</span><span class="special">;</span>  

  <span class="comment">// <a class="link" href="classboost_1_1random_1_1splitmix64.html#id-1_3_32_5_6_43_1_1_1_5-bb">private member functions</a></span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a31b5a216b3407fec37f7d152081c5b38"><span class="identifier">concatenate</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint32_t</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">uint32_t</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1random_1_1splitmix64.html#id-1_3_32_5_6_43_1_1_1_6-bb">public member functions</a></span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a5846115125bdcdf816000225b5d6e351"><span class="identifier">seed</span></a><span class="special">(</span><span class="identifier">result_type</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Sseq<span class="special">,</span> 
           <span class="keyword">typename</span> std::enable_if&lt;!std::is_convertible&lt; Sseq, std::uint64_t &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1af10b7805fce8c1c4559a77878503c01a"><span class="identifier">seed</span></a><span class="special">(</span><span class="identifier">Sseq</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Sseq<span class="special">,</span> 
           <span class="keyword">typename</span> std::enable_if&lt;!std::is_convertible&lt; Sseq, splitmix64 &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
    <span class="keyword">explicit</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a00826227091d19b6816abb1c36347038"><span class="identifier">splitmix64</span></a><span class="special">(</span><span class="identifier">Sseq</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> 
           <span class="keyword">typename</span> std::enable_if&lt; std::is_convertible&lt; T, std::uint64_t &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1ae0e668c7da113c3cbf68dfce22f5d605"><span class="identifier">seed</span></a><span class="special">(</span><span class="identifier">T</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a6bdefb0876975873ad3524e67eb02f0c"><span class="identifier">splitmix64</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a1f97258e2db25261b6b961c01f96e353"><span class="identifier">splitmix64</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1ac5d390fcf2552b9907d0b755570ed9e6"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <span class="identifier">result_type</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a9a73b0603f832cd9ec215ea48a57b69f"><span class="identifier">next</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="identifier">result_type</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a49a3d1bc35523e757dd69c4f4ef60582"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1aeb84e128a859b112e4f8087eaf978581"><span class="identifier">discard</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FIter<span class="special">&gt;</span> <span class="keyword">void</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a5e363ab05442816007fac8e8fcd652eb"><span class="identifier">generate</span></a><span class="special">(</span><span class="identifier">FIter</span><span class="special">,</span> <span class="identifier">FIter</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1random_1_1splitmix64.html#id-1_3_32_5_6_43_1_1_1_7-bb">friend functions</a></span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a66af19da088d34f41c0c93502f190827"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a26871a97d5157b480f9a61194a66a408"><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> 
    <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a7f06145ac0d45a666a33adee9f5195ba"><span class="keyword">operator</span><span class="special">&lt;&lt;</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> 
    <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1ac91be3047a919cae8c61a54f2cca9d39"><span class="keyword">operator</span><span class="special">&gt;&gt;</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1random_1_1splitmix64.html#id-1_3_32_5_6_43_1_1_1_8-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1ae330673c2fc3528a9bb13c21b6a515f5"><span class="identifier">max</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html#doxygen.headers.classboost_1_1random_1_1splitmix64_1a05d2f7d1a9bc69df50a2c85ac11a4ae2"><span class="identifier">min</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="keyword">static</span> <span class="keyword">bool</span> <span class="identifier">has_fixed_range</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.32.5.6.42.3.4"></a><h2>Description</h2>
<p>This is a fixed-increment version of Java 8's SplittableRandom generator See <a href="http://dx.doi.org/10.1145/2714064.2660195" target="_top">http://dx.doi.org/10.1145/2714064.2660195</a> and <a href="http://docs.oracle.com/javase/8/docs/api/java/util/SplittableRandom.html" target="_top">http://docs.oracle.com/javase/8/docs/api/java/util/SplittableRandom.html</a> It is a very fast generator passing BigCrush, and it can be useful if for some reason you absolutely want 64 bits of state; otherwise, we rather suggest to use a xoroshiro128+ (for moderately parallel computations) or xorshift1024* (for massively parallel computations) generator. </p>
<div class="refsect2">
<a name="id-1.3.32.5.6.42.3.4.3"></a><h3>
<a name="id-1_3_32_5_6_43_1_1_1_5-bb"></a><code class="computeroutput">splitmix64</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a31b5a216b3407fec37f7d152081c5b38"></a><span class="identifier">concatenate</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint32_t</span> word1<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">uint32_t</span> word2<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li></ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.32.5.6.42.3.4.4"></a><h3>
<a name="id-1_3_32_5_6_43_1_1_1_6-bb"></a><code class="computeroutput">splitmix64</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a5846115125bdcdf816000225b5d6e351"></a><span class="identifier">seed</span><span class="special">(</span><span class="identifier">result_type</span> value <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Seeds the generator with the default seed. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Sseq<span class="special">,</span> 
         <span class="keyword">typename</span> std::enable_if&lt;!std::is_convertible&lt; Sseq, std::uint64_t &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1af10b7805fce8c1c4559a77878503c01a"></a><span class="identifier">seed</span><span class="special">(</span><span class="identifier">Sseq</span> <span class="special">&amp;</span> seq<span class="special">)</span><span class="special">;</span></pre>
<p>Seeds the generator with 32-bit values produced by <code class="computeroutput">seq.generate()</code>. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Sseq<span class="special">,</span> 
         <span class="keyword">typename</span> std::enable_if&lt;!std::is_convertible&lt; Sseq, splitmix64 &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
  <span class="keyword">explicit</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a00826227091d19b6816abb1c36347038"></a><span class="identifier">splitmix64</span><span class="special">(</span><span class="identifier">Sseq</span> <span class="special">&amp;</span> seq<span class="special">)</span><span class="special">;</span></pre>
<p>Seeds the generator with 64-bit values produced by <code class="computeroutput">seq.generate()</code>. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> 
         <span class="keyword">typename</span> std::enable_if&lt; std::is_convertible&lt; T, std::uint64_t &gt;::value, bool &gt;::type <span class="special">=</span> <span class="keyword">true</span><span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1ae0e668c7da113c3cbf68dfce22f5d605"></a><span class="identifier">seed</span><span class="special">(</span><span class="identifier">T</span> value <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Seeds the generator with a user provided seed. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">explicit</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a6bdefb0876975873ad3524e67eb02f0c"></a><span class="identifier">splitmix64</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> state <span class="special">=</span> <span class="number">0</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Seeds the generator with a user provided seed. </p>
</li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a1f97258e2db25261b6b961c01f96e353"></a><span class="identifier">splitmix64</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1ac5d390fcf2552b9907d0b755570ed9e6"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">result_type</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a9a73b0603f832cd9ec215ea48a57b69f"></a><span class="identifier">next</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns the next value of the generator. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">result_type</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a49a3d1bc35523e757dd69c4f4ef60582"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns the next value of the generator. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1aeb84e128a859b112e4f8087eaf978581"></a><span class="identifier">discard</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">uint64_t</span> z<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Advances the state of the generator by <code class="computeroutput">z</code>. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FIter<span class="special">&gt;</span> <span class="keyword">void</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a5e363ab05442816007fac8e8fcd652eb"></a><span class="identifier">generate</span><span class="special">(</span><span class="identifier">FIter</span> first<span class="special">,</span> <span class="identifier">FIter</span> last<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Fills a range with random values </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.32.5.6.42.3.4.5"></a><h3>
<a name="id-1_3_32_5_6_43_1_1_1_7-bb"></a><code class="computeroutput">splitmix64</code> friend functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a66af19da088d34f41c0c93502f190827"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> lhs<span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns true if the two generators will produce identical sequences of values. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a26871a97d5157b480f9a61194a66a408"></a><span class="keyword">operator</span><span class="special">!=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> lhs<span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns true if the two generators will produce different sequences of values. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> 
  <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a7f06145ac0d45a666a33adee9f5195ba"></a><span class="keyword">operator</span><span class="special">&lt;&lt;</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> ost<span class="special">,</span> <span class="keyword">const</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> e<span class="special">)</span><span class="special">;</span></pre>
<p>Writes a <code class="computeroutput"><a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a></code> to a <code class="computeroutput">std::ostream</code>. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits<span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> 
  <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1ac91be3047a919cae8c61a54f2cca9d39"></a><span class="keyword">operator</span><span class="special">&gt;&gt;</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> ist<span class="special">,</span> <a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a> <span class="special">&amp;</span> e<span class="special">)</span><span class="special">;</span></pre>
<p>Writes a <code class="computeroutput"><a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a></code> to a <code class="computeroutput">std::istream</code>. </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.32.5.6.42.3.4.6"></a><h3>
<a name="id-1_3_32_5_6_43_1_1_1_8-bb"></a><code class="computeroutput">splitmix64</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">static</span> <span class="keyword">constexpr</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1ae330673c2fc3528a9bb13c21b6a515f5"></a><span class="identifier">max</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns the largest value that the <code class="computeroutput"><a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a></code> can produce. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">static</span> <span class="keyword">constexpr</span> <a name="doxygen.headers.classboost_1_1random_1_1splitmix64_1a05d2f7d1a9bc69df50a2c85ac11a4ae2"></a><span class="identifier">min</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns the smallest value that the <code class="computeroutput"><a class="link" href="classboost_1_1random_1_1splitmix64.html" title="Class splitmix64">splitmix64</a></code> can produce. </p>
</li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2000-2005 Jens Maurer<br>Copyright © 2009, 2010 Steven Watanabe<br>Copyright © 2022-2025 Matt
      Borland<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="sobol_8hpp_1aa5b0c5ac9d0b5f30aeec86300f90e403.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_random/reference.html#doxygen.headers.splitmix64_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1random_1_1student__t__distribution.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
